package com.yj.suncity.bean;

import org.json.JSONObject;

public class HuodongDetailBean {
	private String success;// ": "1",
	private String msg;// ": "获取信息成功",
	private JSONObject data;// ": {

	private String id = "";// ": "1ceb2919-6a5e-47fc-a104-548c139ce58f",
	private String activity_theme = "";// ": "测试活动",
	private String activity_content = "";// ": "就卡死的百度八九点",
	private String activity_address = "";// ": "建设路100好",
	private String img_list = "";// ": "",
	private String activity_startdatetime = "";// ": "1428564861",
	private String activity_enddatetime = "";// ": "1397059200",
	private String release_userid = "";// ": "1",
	private String release_username = "";// ": "赵薇商家",
	private String release_datetime = "";// ": "1428046462"
	public HuodongDetailBean(JSONObject json) {
		this.success = json.optString("success");
		this.msg = json.optString("msg");
		this.data = json.optJSONObject("data");
		if (data!=null) {
			this.id = data.optString("id");
			this.activity_theme = data.optString("activity_theme");
			this.activity_content = data.optString("activity_content");
			this.activity_address = data.optString("activity_address");
			this.img_list = data.optString("img_list");
			this.activity_startdatetime =data.optString("activity_startdatetime") ;
			this.activity_enddatetime = data.optString("activity_enddatetime");
			this.release_userid = data.optString("release_userid");
			this.release_username = data.optString("release_username");
			this.release_datetime = data.optString("release_datetime");
			
		}
	}
	public String getSuccess() {
		return success;
	}
	public String getMsg() {
		return msg;
	}
	public JSONObject getData() {
		return data;
	}
	public String getId() {
		return id;
	}
	public String getActivity_theme() {
		return activity_theme;
	}
	public String getActivity_content() {
		return activity_content;
	}
	public String getActivity_address() {
		return activity_address;
	}
	public String getImg_list() {
		return img_list;
	}
	public String getActivity_startdatetime() {
		return activity_startdatetime;
	}
	public String getActivity_enddatetime() {
		return activity_enddatetime;
	}
	public String getRelease_userid() {
		return release_userid;
	}
	public String getRelease_username() {
		return release_username;
	}
	public String getRelease_datetime() {
		return release_datetime;
	}

}
